﻿/*************************************
 * Creator:SW-PeiYang
 * DateTime:2025/9/8 16:15:28
 * Description:<Description>
 * CopyRight:
 * ***********************************/

using SunnyPaine.Autofac.Extension.SqlSugar.Service;
using SunnyPaine.Autofac.Extension.SqlSugar.Test.Dao;
using SunnyPaine.Autofac.Extension.SqlSugar.Test.Model;
using SunnyPaine.Autofac.Extension.Stereotype.Attributes;
using System.Collections.Generic;

namespace SunnyPaine.Autofac.Extension.SqlSugar.Test.Service.Impl
{
    [Service]
    public class ProjectService : ServiceImpl<Project>, IProjectService
    {
        [Resource(Name = "ProjectDao")]
        private IProjectDao ProjectDao { get; set; }


        public override List<Project> FindAll()
        {
            return this.ProjectDao.SelectAll();
        }
    }
}
